<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Peer-to-peer Application</title>
<style type="text/css">
	body {
		color: black;
		background: white;
		margin: 20px;
	}
	
	body, td {
		font-size: 90%;
	}

	body, h1, h2, h3, h4, h5, h6, p, center, td, th, ul, dl, div {
		font-family: Geneva, Arial, Helvetica, sans-serif;
	}

	h1 {
		display: block;
		text-align: center;
		font-size: 160%;
		margin: 0.67em 0px;
		font-weight: bold;
	}

	p {
		display: block;
		margin: 1em 0px;
	}
</style>
</head>
<body>
<h1>Peer-to-peer Application</h1>

<p>This sample shows how to organize the simplest peer-to-peer link. At least 2 nodes should be used, but in total up to 8 nodes
can be engaged. Each device is assigned with a distinct short (network) address and its own device type. This is done differently
depending on the platform. Network address is identified either by DIP switches or by a special configuration parameter.
</p>

<p>The network start procedure is initiated automatically on device startup. After network formation
wireless data exchange is performed strictly in pairs according to assigned short addresses: node 0 with node 1, node 2 with node 3,
node 4 with node 5, node 6 with node 7.
</p>

<p>A node forwards to the corresponding peer all data received from the host over the serial interface (USART). On frame reception
peer node in its turn sends received data to its own USART channel, thus establishing a simple wireless USART link. For input/output 
of serial data on devices with USART/USB connection to PC Windows HyperTerminal can be used.</p>

<p>More detailed decription can be found in <i>BitCloud API Reference</i>.</p>
</body>
</html>
